package com.ticket.sass.common.rpc

import com.google.gson.Gson


fun String.toJson(): Map<*, *>? {
    return try {
        Gson().fromJson(this, Map::class.java)
    } catch (e: Exception) {
        null
    }
}
